<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>Core Plot (Mac OS): Source/CPTPlotSpace.h Source File</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="customdoxygen.css" rel="stylesheet" type="text/css" />
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>


</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  <td id="projectlogo"><img alt="Logo" src="core-plot-logo.png"/></td>
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">Core Plot (Mac OS)
   
   </div>
   <div id="projectbrief">Cocoa plotting framework for Mac OS X and iOS</div>
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.6.1 -->
<script type="text/javascript" src="dynsections.js"></script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="modules.html"><span>Animation&#160;&&#160;Constants</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
    </ul>
  </div>
</div>
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
  initNavTree('_c_p_t_plot_space_8h.html','');
</script>
<div id="doc-content">
<div class="header">
  <div class="headertitle">
<div class="title">Source/CPTPlotSpace.h</div>  </div>
</div><!--header-->
<div class="contents">
<div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#import &quot;<a class="code" href="_c_p_t_definitions_8h.html">CPTDefinitions.h</a>&quot;</span>
<a name="l00002"></a>00002 <span class="preprocessor">#import &quot;CPTResponder.h&quot;</span>
<a name="l00003"></a>00003 
<a name="l00004"></a>00004 <span class="keyword">@class</span> <a class="code" href="interface_c_p_t_layer.html" title="Base class for all Core Animation layers in Core Plot.">CPTLayer</a>;
<a name="l00005"></a>00005 <span class="keyword">@class</span> <a class="code" href="interface_c_p_t_plot_range.html" title="Defines an immutable range of plot data.">CPTPlotRange</a>;
<a name="l00006"></a>00006 <span class="keyword">@class</span> <a class="code" href="interface_c_p_t_graph.html" title="An abstract graph class.">CPTGraph</a>;
<a name="l00007"></a>00007 <span class="keyword">@class</span> <a class="code" href="interface_c_p_t_plot_space.html" title="Defines the coordinate system of a plot.">CPTPlotSpace</a>;
<a name="l00008"></a>00008 
<a name="l00011"></a>00011 
<a name="l00018"></a>00018 <span class="keyword">extern</span> <a class="codeRef" href="http://developer.apple.com/documentation/Cocoa/Reference/Foundation/Classes/NSString_Class/Reference/NSString.html">NSString</a> *<span class="keyword">const</span> <a class="code" href="group__notification.html#ga23f2cfa5cf45e2998bd8983b9ee2f5cc" title="Plot space coordinate change notification.">CPTPlotSpaceCoordinateMappingDidChangeNotification</a>;
<a name="l00019"></a>00019 
<a name="l00021"></a>00021 
<a name="l00025"></a><a class="code" href="protocol_c_p_t_plot_space_delegate-p.html">00025</a> <span class="keyword">@protocol </span><a class="code" href="protocol_c_p_t_plot_space_delegate-p.html" title="Plot space delegate.">CPTPlotSpaceDelegate</a>&lt;<a class="codeRef" href="http://developer.apple.com/documentation/Cocoa/Reference/Foundation/Classes/NSObject_Class/Reference/Reference.html">NSObject</a>&gt;
<a name="l00026"></a>00026 
<a name="l00027"></a>00027 <span class="keyword">@optional</span>
<a name="l00028"></a>00028 
<a name="l00031"></a>00031 
<a name="l00039"></a>00039 -(<a class="codeRef" href="http://developer.apple.com/mac/library/documentation/Cocoa/Reference/ObjCRuntimeRef/Reference/reference.html">BOOL</a>)plotSpace:(<a class="code" href="interface_c_p_t_plot_space.html" title="Defines the coordinate system of a plot.">CPTPlotSpace</a> *)space shouldScaleBy:(CGFloat)interactionScale aboutPoint:(<a class="codeRef" href="http://developer.apple.com/documentation/GraphicsImaging/Reference/CGGeometry/Reference/reference.html#//apple_ref/doc/c_ref/CGPoint.html">CGPoint</a>)interactionPoint;
<a name="l00040"></a>00040 
<a name="l00048"></a>00048 -(<a class="codeRef" href="http://developer.apple.com/mac/library/documentation/Cocoa/Reference/ObjCRuntimeRef/Reference/reference.html">BOOL</a>)plotSpace:(<a class="code" href="interface_c_p_t_plot_space.html" title="Defines the coordinate system of a plot.">CPTPlotSpace</a> *)space shouldHandlePointingDeviceDownEvent:(<span class="keywordtype">id</span>)event atPoint:(<a class="codeRef" href="http://developer.apple.com/documentation/GraphicsImaging/Reference/CGGeometry/Reference/reference.html#//apple_ref/doc/c_ref/CGPoint.html">CGPoint</a>)point;
<a name="l00049"></a>00049 
<a name="l00057"></a>00057 -(<a class="codeRef" href="http://developer.apple.com/mac/library/documentation/Cocoa/Reference/ObjCRuntimeRef/Reference/reference.html">BOOL</a>)plotSpace:(<a class="code" href="interface_c_p_t_plot_space.html" title="Defines the coordinate system of a plot.">CPTPlotSpace</a> *)space shouldHandlePointingDeviceDraggedEvent:(<span class="keywordtype">id</span>)event atPoint:(<a class="codeRef" href="http://developer.apple.com/documentation/GraphicsImaging/Reference/CGGeometry/Reference/reference.html#//apple_ref/doc/c_ref/CGPoint.html">CGPoint</a>)point;
<a name="l00058"></a>00058 
<a name="l00065"></a>00065 -(<a class="codeRef" href="http://developer.apple.com/mac/library/documentation/Cocoa/Reference/ObjCRuntimeRef/Reference/reference.html">BOOL</a>)plotSpace:(<a class="code" href="interface_c_p_t_plot_space.html" title="Defines the coordinate system of a plot.">CPTPlotSpace</a> *)space shouldHandlePointingDeviceCancelledEvent:(<span class="keywordtype">id</span>)event;
<a name="l00066"></a>00066 
<a name="l00074"></a>00074 -(<a class="codeRef" href="http://developer.apple.com/mac/library/documentation/Cocoa/Reference/ObjCRuntimeRef/Reference/reference.html">BOOL</a>)plotSpace:(<a class="code" href="interface_c_p_t_plot_space.html" title="Defines the coordinate system of a plot.">CPTPlotSpace</a> *)space shouldHandlePointingDeviceUpEvent:(<span class="keywordtype">id</span>)event atPoint:(<a class="codeRef" href="http://developer.apple.com/documentation/GraphicsImaging/Reference/CGGeometry/Reference/reference.html#//apple_ref/doc/c_ref/CGPoint.html">CGPoint</a>)point;
<a name="l00075"></a>00075 
<a name="l00081"></a>00081 -(<a class="codeRef" href="http://developer.apple.com/documentation/GraphicsImaging/Reference/CGGeometry/Reference/reference.html#//apple_ref/doc/c_ref/CGPoint.html">CGPoint</a>)plotSpace:(<a class="code" href="interface_c_p_t_plot_space.html" title="Defines the coordinate system of a plot.">CPTPlotSpace</a> *)space willDisplaceBy:(<a class="codeRef" href="http://developer.apple.com/documentation/GraphicsImaging/Reference/CGGeometry/Reference/reference.html#//apple_ref/doc/c_ref/CGPoint.html">CGPoint</a>)proposedDisplacementVector;
<a name="l00082"></a>00082 
<a name="l00089"></a>00089 -(<a class="code" href="interface_c_p_t_plot_range.html" title="Defines an immutable range of plot data.">CPTPlotRange</a> *)plotSpace:(<a class="code" href="interface_c_p_t_plot_space.html" title="Defines the coordinate system of a plot.">CPTPlotSpace</a> *)space willChangePlotRangeTo:(<a class="code" href="interface_c_p_t_plot_range.html" title="Defines an immutable range of plot data.">CPTPlotRange</a> *)newRange forCoordinate:(<a class="code" href="_c_p_t_definitions_8h.html#a10709b6abd0a9ee1769345ef51b2fcd7" title="Enumeration of axis coordinates.">CPTCoordinate</a>)coordinate;
<a name="l00090"></a>00090 
<a name="l00095"></a>00095 -(void)plotSpace:(<a class="code" href="interface_c_p_t_plot_space.html" title="Defines the coordinate system of a plot.">CPTPlotSpace</a> *)space didChangePlotRangeForCoordinate:(<a class="code" href="_c_p_t_definitions_8h.html#a10709b6abd0a9ee1769345ef51b2fcd7" title="Enumeration of axis coordinates.">CPTCoordinate</a>)coordinate;
<a name="l00096"></a>00096 
<a name="l00098"></a>00098 
<a name="l00099"></a>00099 <span class="keyword">@end</span>
<a name="l00100"></a>00100 
<a name="l00101"></a>00101 <span class="preprocessor">#pragma mark -</span>
<a name="l00102"></a>00102 <span class="preprocessor"></span>
<a name="l00103"></a><a class="code" href="interface_c_p_t_plot_space.html">00103</a> <span class="keyword">@interface </span><a class="code" href="interface_c_p_t_plot_space.html" title="Defines the coordinate system of a plot.">CPTPlotSpace</a> : <a class="codeRef" href="http://developer.apple.com/documentation/Cocoa/Reference/Foundation/Classes/NSObject_Class/Reference/Reference.html">NSObject</a>&lt;<a class="code" href="protocol_c_p_t_responder-p.html" title="The basis of all event processing in Core Plot.">CPTResponder</a>, <a class="codeRef" href="http://developer.apple.com/documentation/Cocoa/Reference/Foundation/Protocols/NSCoding_Protocol/Reference/Reference.html">NSCoding</a>&gt; {
<a name="l00104"></a>00104     <span class="keyword">@private</span>
<a name="l00105"></a><a class="code" href="interface_c_p_t_plot_space.html#a1338ed4172b2eca55291a79096bade8f">00105</a>     <a class="code" href="_c_p_t_definitions_8h.html#abd26af4304957387867e6e9e8cef1576" title="A custom definition for ARC weak references that falls back to unsafe unretained values on older plat...">__cpt_weak</a> <a class="code" href="interface_c_p_t_graph.html" title="An abstract graph class.">CPTGraph</a> *<a class="code" href="interface_c_p_t_plot_space.html#a1338ed4172b2eca55291a79096bade8f" title="The graph of the space.">graph</a>;
<a name="l00106"></a><a class="code" href="interface_c_p_t_plot_space.html#ad97e327cd52cd5086023efebd5b94c31">00106</a>     <a class="codeRef" href="http://developer.apple.com/mac/library/documentation/Cocoa/Reference/ObjCRuntimeRef/Reference/reference.html">id&lt;NSCopying, NSCoding, NSObject&gt;</a> <a class="code" href="interface_c_p_t_plot_space.html#ad97e327cd52cd5086023efebd5b94c31" title="An object used to identify the plot in collections.">identifier</a>;
<a name="l00107"></a><a class="code" href="interface_c_p_t_plot_space.html#a2a3aed439077b13bd070b573c29ca4a9">00107</a>     <a class="code" href="_c_p_t_definitions_8h.html#abd26af4304957387867e6e9e8cef1576" title="A custom definition for ARC weak references that falls back to unsafe unretained values on older plat...">__cpt_weak</a> <a class="codeRef" href="http://developer.apple.com/mac/library/documentation/Cocoa/Reference/ObjCRuntimeRef/Reference/reference.html">id&lt;CPTPlotSpaceDelegate&gt;</a> <a class="code" href="interface_c_p_t_plot_space.html#a2a3aed439077b13bd070b573c29ca4a9" title="The plot space delegate.">delegate</a>;
<a name="l00108"></a><a class="code" href="interface_c_p_t_plot_space.html#a0d1dd4c7e319458df25aff1fa5872df9">00108</a>     <a class="codeRef" href="http://developer.apple.com/mac/library/documentation/Cocoa/Reference/ObjCRuntimeRef/Reference/reference.html">BOOL</a> <a class="code" href="interface_c_p_t_plot_space.html#a0d1dd4c7e319458df25aff1fa5872df9" title="Determines whether user can interactively change plot range and/or zoom.">allowsUserInteraction</a>;
<a name="l00109"></a>00109 }
<a name="l00110"></a>00110 
<a name="l00111"></a>00111 <span class="keyword">@property</span> (nonatomic, readwrite, copy) <a class="codeRef" href="http://developer.apple.com/mac/library/documentation/Cocoa/Reference/ObjCRuntimeRef/Reference/reference.html">id&lt;NSCopying, NSCoding, NSObject&gt;</a> identifier;
<a name="l00112"></a>00112 <span class="keyword">@property</span> (nonatomic, readwrite, assign) <a class="codeRef" href="http://developer.apple.com/mac/library/documentation/Cocoa/Reference/ObjCRuntimeRef/Reference/reference.html">BOOL</a> allowsUserInteraction;
<a name="l00113"></a>00113 <span class="keyword">@property</span> (nonatomic, readwrite, <a class="code" href="_c_p_t_definitions_8h.html#a1133842e0f1c9446242d6a2ce34728ee" title="A custom definition for ARC weak properties that falls back to assign on older platforms.">cpt_weak_property</a>) <a class="code" href="_c_p_t_definitions_8h.html#abd26af4304957387867e6e9e8cef1576" title="A custom definition for ARC weak references that falls back to unsafe unretained values on older plat...">__cpt_weak</a> <a class="code" href="interface_c_p_t_graph.html" title="An abstract graph class.">CPTGraph</a> *graph;
<a name="l00114"></a>00114 <span class="keyword">@property</span> (nonatomic, readwrite, <a class="code" href="_c_p_t_definitions_8h.html#a1133842e0f1c9446242d6a2ce34728ee" title="A custom definition for ARC weak properties that falls back to assign on older platforms.">cpt_weak_property</a>) <a class="code" href="_c_p_t_definitions_8h.html#abd26af4304957387867e6e9e8cef1576" title="A custom definition for ARC weak references that falls back to unsafe unretained values on older plat...">__cpt_weak</a> <a class="codeRef" href="http://developer.apple.com/mac/library/documentation/Cocoa/Reference/ObjCRuntimeRef/Reference/reference.html">id&lt;CPTPlotSpaceDelegate&gt;</a> delegate;
<a name="l00115"></a>00115 
<a name="l00116"></a>00116 <span class="keyword">@end</span>
<a name="l00117"></a>00117 
<a name="l00118"></a>00118 <span class="preprocessor">#pragma mark -</span>
<a name="l00119"></a>00119 <span class="preprocessor"></span>
<a name="l00123"></a>00123 <span class="keyword">@interface </span><a class="code" href="interface_c_p_t_plot_space.html" title="Defines the coordinate system of a plot.">CPTPlotSpace</a>(AbstractMethods)
<a name="l00124"></a>00124 
<a name="l00127"></a>00127 -(<a class="codeRef" href="http://developer.apple.com/documentation/GraphicsImaging/Reference/CGGeometry/Reference/reference.html#//apple_ref/doc/c_ref/CGPoint.html">CGPoint</a>)plotAreaViewPointForPlotPoint:(<a class="codeRef" href="http://developer.apple.com/mac/library/documentation/Cocoa/Reference/Foundation/Miscellaneous/Foundation_DataTypes/Reference/reference.html">NSDecimal</a> *)plotPoint;
<a name="l00128"></a>00128 -(<a class="codeRef" href="http://developer.apple.com/documentation/GraphicsImaging/Reference/CGGeometry/Reference/reference.html#//apple_ref/doc/c_ref/CGPoint.html">CGPoint</a>)plotAreaViewPointForDoublePrecisionPlotPoint:(<span class="keywordtype">double</span> *)plotPoint;
<a name="l00129"></a>00129 -(void)plotPoint:(<a class="codeRef" href="http://developer.apple.com/mac/library/documentation/Cocoa/Reference/Foundation/Miscellaneous/Foundation_DataTypes/Reference/reference.html">NSDecimal</a> *)plotPoint forPlotAreaViewPoint:(<a class="codeRef" href="http://developer.apple.com/documentation/GraphicsImaging/Reference/CGGeometry/Reference/reference.html#//apple_ref/doc/c_ref/CGPoint.html">CGPoint</a>)point;
<a name="l00130"></a>00130 -(void)doublePrecisionPlotPoint:(<span class="keywordtype">double</span> *)plotPoint forPlotAreaViewPoint:(<a class="codeRef" href="http://developer.apple.com/documentation/GraphicsImaging/Reference/CGGeometry/Reference/reference.html#//apple_ref/doc/c_ref/CGPoint.html">CGPoint</a>)point;
<a name="l00132"></a>00132 
<a name="l00135"></a>00135 -(void)setPlotRange:(<a class="code" href="interface_c_p_t_plot_range.html" title="Defines an immutable range of plot data.">CPTPlotRange</a> *)newRange forCoordinate:(<a class="code" href="_c_p_t_definitions_8h.html#a10709b6abd0a9ee1769345ef51b2fcd7" title="Enumeration of axis coordinates.">CPTCoordinate</a>)coordinate;
<a name="l00136"></a>00136 -(<a class="code" href="interface_c_p_t_plot_range.html" title="Defines an immutable range of plot data.">CPTPlotRange</a> *)plotRangeForCoordinate:(<a class="code" href="_c_p_t_definitions_8h.html#a10709b6abd0a9ee1769345ef51b2fcd7" title="Enumeration of axis coordinates.">CPTCoordinate</a>)coordinate;
<a name="l00138"></a>00138 
<a name="l00141"></a>00141 -(void)setScaleType:(<a class="code" href="_c_p_t_definitions_8h.html#a9564ab0b679e0c37a87f0c8af3a60335" title="Enumeration of axis scale types.">CPTScaleType</a>)newType forCoordinate:(<a class="code" href="_c_p_t_definitions_8h.html#a10709b6abd0a9ee1769345ef51b2fcd7" title="Enumeration of axis coordinates.">CPTCoordinate</a>)coordinate;
<a name="l00142"></a>00142 -(<a class="code" href="_c_p_t_definitions_8h.html#a9564ab0b679e0c37a87f0c8af3a60335" title="Enumeration of axis scale types.">CPTScaleType</a>)scaleTypeForCoordinate:(<a class="code" href="_c_p_t_definitions_8h.html#a10709b6abd0a9ee1769345ef51b2fcd7" title="Enumeration of axis coordinates.">CPTCoordinate</a>)coordinate;
<a name="l00144"></a>00144 
<a name="l00147"></a>00147 -(void)scaleToFitPlots:(<a class="codeRef" href="http://developer.apple.com/documentation/Cocoa/Reference/Foundation/Classes/NSArray_Class/Reference/Reference.html">NSArray</a> *)plots;
<a name="l00148"></a>00148 -(void)scaleBy:(CGFloat)interactionScale aboutPoint:(<a class="codeRef" href="http://developer.apple.com/documentation/GraphicsImaging/Reference/CGGeometry/Reference/reference.html#//apple_ref/doc/c_ref/CGPoint.html">CGPoint</a>)interactionPoint;
<a name="l00150"></a>00150 
<a name="l00151"></a>00151 <span class="keyword">@end</span>
</pre></div></div><!-- contents -->
</div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><b>CPTPlotSpace.h</b>      </li>

    <li class="footer">Generated by <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a></li>
   </ul>
 </div>


</body>
</html>
